<?php
/**
 * Created by PhpStorm.
 * User: cuibenyong
 * Date: 2019/9/14
 * Time: 10:26 AM
 */

namespace app\index\validate;


use think\Validate;

class Team extends Validate
{

    protected $rule = [
        'team_name' => 'require',
        'main_member' => 'require',
        'keywords' => 'require',
        'content' => 'require',
        'specialty' => 'require',
        'founder_name' => 'require',
        'founder_desc' => 'require',
    ];

    protected $message = [
        'team_name.require' => '请输入团队名称',
        'main_member.require' => '请输入主要成员',
        'keywords.require' => '请输入关键字',
        'content.require' => '请输入团队简介',
        'specialty.require' => '请选输入研究方向及主要成果',
        'founder_name.require' => '请选输入负责人姓名',
        'founder_desc.require' => '请选输入负责人简介',
    ];
}